package com.eportal.api;

import net.sf.json.JSONObject;

public class MdOpenAddTShelvesJson extends MdOpenBaseJson{

	
	public static MdOpenAddTShelvesJson parse(String json){
		MdOpenAddTShelvesJson bean  = new MdOpenAddTShelvesJson();
		bean.setData(bean.new TShelves());
		MdOpenBaseJson.parse(json,bean);
		if(bean.isSuccess()){
			JSONObject obj = JSONObject.fromObject(json);
			bean.getData().setSid(obj.getString("id"));	
		}
		return bean;
	}
	
	private TShelves data;
	
	
	
	public TShelves getData() {
		return data;
	}



	public void setData(TShelves data) {
		this.data = data;
	}



	 public class TShelves{
		 TShelves(){
			 
		 }
		private String sid;
		/**
		 * sid  
		 * @return sid sid  
		 */
		public String getSid() {
			return sid;
		}
		
		/**
		 * sid  
		 * @param sid sid 
		 */
		public void setSid(String sid) {
			this.sid = sid;
		}
		
		
	}
}
